@extends('admin.layout.main')

@section('content')
    <div class="breadcrumbs ace-save-state" id="breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <i class="ace-icon fa fa-home home-icon"></i>
                <a href="#">版本管理</a>
            </li>
            <li class="active"><a href="#">版本详情</a></li>
        </ul><!-- /.breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
		<span class="input-icon">
		<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
			<i class="ace-icon fa fa-search nav-search-icon"></i>
		</span>
            </form>
        </div><!-- /.nav-search -->
    </div>

    <div class="row">
        <div class="col-xs-12">
        	<div class="clearfix">
				<div class="pull-right tableTools-container"></div>
			</div>
			<div class="table-header">
				<a href="#">
				<span class="menu-text orange"> 版本详情 </span>
				</a>
			</div>
            <!-- PAGE CONTENT BEGINS -->
            <form class="form-horizontal" role="form" action="/admin/version" method="post" enctype="multipart/form-data">
                <div>
                	{{csrf_field()}}
						<table id="dynamic-table" class="table table-striped table-bordered table-hover">
							<tbody>
								<tr>
									<td class="center">
										<span >* 操作系统  </span>
									</td>
									<td>
										{{$data->type}}
									</td>
								</tr>

								<tr>
									<td class="center">
										<span >* 版本号 </span>
									</td>
									<td>
										{{$data->version}}
									</td>
								</tr>
								
								<tr>
									<td class="center">* 是否强制更新</td>
									<td>
										@if($data->is_force==1)
											是
										@else
											否
										@endif
									</td>
								</tr>
								<tr>
									<td class="center">* 文件路径</td>
									<td>
										{{$data->oss_path}}
									</td>
								</tr>
								<tr>
									<td class="center">* 更新内容</td>
									<td>
										<textarea cols="60" rows="10" name="note" disabled="">{{$data->note}}
										</textarea>
									</td>
								</tr>
								<tr>
									<td>
										<span></span>
									</td>
									<td>
										<a href="javascript:history.go(-1);" class="btn" type="reset">
				                            <i class="ace-icon fa fa-undo bigger-110"></i>
				                            返回
				                        </a>
									</td>
								</tr>	
							</tbody>
						</table>
					</div>
            </form>
        </div>
    </div>
    </div><!-- /.main-content -->
@endsection

